home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / contrib / other / siam / subeqn.sty < prev   
LaTeX Document  |  1995-03-15  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 73 75 62 65 71 6e | 2e 73 74 79 20 0a 25 20 |% subeqn|.sty .% |
|00000010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000050| 2d 2d 2d 2d 2d 2d 0a 25 | 20 20 20 20 20 20 20 20 |------.%| |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 68 69 | | Thi|
|00000070| 73 20 4c 61 54 65 58 20 | 65 6e 76 69 72 6f 6e 6d |s LaTeX |environm|
|00000080| 65 6e 74 20 20 69 73 20 | 66 6f 72 0a 25 20 70 72 |ent is |for.% pr|
|00000090| 69 6e 74 69 6e 67 20 20 | 20 73 75 62 65 71 75 61 |inting | subequa|
|000000a0| 74 69 6f 6e 73 2e 20 20 | 20 54 6f 20 20 20 75 73 |tions. | To us|
|000000b0| 65 20 20 20 74 68 69 73 | 20 20 20 65 6e 76 69 72 |e this| envir|
|000000c0| 6f 6e 6d 65 6e 74 2c 20 | 20 69 6e 63 6c 75 64 65 |onment, | include|
|000000d0| 20 20 69 6e 20 20 74 68 | 65 0a 25 20 5c 64 6f 63 | in th|e.% \doc|
|000000e0| 75 6d 65 6e 74 73 74 79 | 6c 65 20 68 65 61 64 65 |umentsty|le heade|
|000000f0| 72 20 20 61 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 |r a com|mand to |
|00000100| 20 6c 6f 61 64 20 69 6e | 20 74 68 65 20 20 2e 73 | load in| the .s|
|00000110| 74 79 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |ty file |containi|
|00000120| 6e 67 20 74 68 69 73 0a | 25 20 6d 61 63 72 6f 2e |ng this.|% macro.|
|00000130| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 3a 0a 25 20 | For exa|mple:.% |
|00000140| 20 20 20 20 5c 64 6f 63 | 75 6d 65 6e 74 73 74 79 | \doc|umentsty|
|00000150| 6c 65 5b 73 75 62 65 71 | 6e 5d 7b 61 72 74 69 63 |le[subeq|n]{artic|
|00000160| 6c 65 7d 0a 25 20 69 66 | 20 79 6f 75 20 20 68 61 |le}.% if| you ha|
|00000170| 76 65 20 74 68 65 20 20 | 6d 61 63 72 6f 20 69 6e |ve the |macro in|
|00000180| 20 20 61 20 66 69 6c 65 | 20 73 75 62 65 71 6e 2e | a file| subeqn.|
|00000190| 73 74 79 2e 20 54 68 65 | 20 65 6e 76 69 72 6f 6e |sty. The| environ|
|000001a0| 6d 65 6e 74 20 73 65 65 | 6d 73 20 70 72 65 74 74 |ment see|ms prett|
|000001b0| 79 0a 25 20 77 65 6c 6c | 20 64 6f 63 75 6d 65 6e |y.% well| documen|
|000001c0| 74 65 64 20 69 6e 20 74 | 68 65 20 63 6f 6d 6d 65 |ted in t|he comme|
|000001d0| 6e 74 73 2e 0a 25 0a 25 | 20 4d 6f 64 69 66 69 65 |nts..%.%| Modifie|
|000001e0| 64 20 3a 20 4a 75 6e 65 | 20 38 2c 20 31 39 38 39 |d : June| 8, 1989|
|000001f0| 2e 20 20 59 6f 75 20 63 | 61 6e 20 6e 6f 77 20 72 |. You c|an now r|
|00000200| 65 66 65 72 65 6e 63 65 | 20 65 69 74 68 65 72 20 |eference| either |
|00000210| 69 6e 64 69 76 69 64 75 | 61 6c 0a 25 20 20 20 20 |individu|al.% |
|00000220| 20 20 20 20 20 20 20 20 | 65 71 75 61 74 69 6f 6e | |equation|
|00000230| 73 20 69 6e 20 74 68 65 | 20 73 75 62 65 71 75 61 |s in the| subequa|
|00000240| 74 69 6f 6e 73 20 65 6e | 76 69 72 6f 6e 6d 65 6e |tions en|vironmen|
|00000250| 74 2c 20 6f 72 20 61 6c | 6c 20 6f 66 0a 25 20 20 |t, or al|l of.% |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 74 68 65 6d 2e 20 | | them. |
|00000270| 20 49 66 20 79 6f 75 20 | 75 73 65 20 61 20 5c 6c | If you |use a \l|
|00000280| 61 62 65 6c 20 63 6f 6d | 6d 61 6e 64 20 69 6d 6d |abel com|mand imm|
|00000290| 65 64 69 61 74 65 6c 79 | 20 61 66 74 65 72 20 74 |ediately| after t|
|000002a0| 68 65 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 |he.% | |
|000002b0| 5c 62 65 67 69 6e 7b 73 | 75 62 65 71 75 61 74 69 |\begin{s|ubequati|
|000002c0| 6f 6e 73 7d 20 63 6f 6d | 6d 61 6e 64 2c 20 74 68 |ons} com|mand, th|
|000002d0| 65 6e 20 61 20 72 65 66 | 65 72 65 6e 63 65 20 74 |en a ref|erence t|
|000002e0| 6f 20 74 68 61 74 0a 25 | 20 20 20 20 20 20 20 20 |o that.%| |
|000002f0| 20 20 20 20 6c 61 62 65 | 6c 20 77 69 6c 6c 20 67 | labe|l will g|
|00000300| 65 6e 65 72 61 74 65 20 | 61 20 72 65 66 65 72 65 |enerate |a refere|
|00000310| 6e 63 65 20 74 6f 20 74 | 68 65 20 65 71 75 61 74 |nce to t|he equat|
|00000320| 69 6f 6e 20 6e 75 6d 62 | 65 72 0a 25 20 20 20 20 |ion numb|er.% |
|00000330| 20 20 20 20 20 20 20 20 | 77 69 74 68 6f 75 74 20 | |without |
|00000340| 74 68 65 20 61 6c 70 68 | 61 62 65 74 69 63 20 65 |the alph|abetic e|
|00000350| 78 74 65 6e 73 69 6f 6e | 2e 0a 25 0a 25 20 4d 6f |xtension|..%.% Mo|
|00000360| 64 69 66 69 65 64 20 3a | 20 31 36 20 2d 20 6a 61 |dified :| 16 - ja|
|00000370| 6e 75 61 72 79 20 2d 20 | 31 39 38 39 20 62 79 20 |nuary - |1989 by |
|00000380| 4a 6f 68 61 6e 6e 65 73 | 20 42 72 61 61 6d 73 20 |Johannes| Braams |
|00000390| 28 20 42 52 41 41 4d 53 | 40 48 4c 53 44 4e 4c 35 |( BRAAMS|@HLSDNL5|
|000003a0| 29 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 41 |).% | A|
|000003b0| 64 64 65 64 20 5c 67 6c | 6f 62 61 6c 5c 40 69 67 |dded \gl|obal\@ig|
|000003c0| 6e 6f 72 65 74 72 75 65 | 20 69 6e 20 74 68 65 20 |noretrue| in the |
|000003d0| 64 65 66 69 6e 69 74 69 | 6f 6e 20 6f 66 0a 25 20 |definiti|on of.% |
|000003e0| 20 20 20 20 20 20 20 20 | 20 20 20 5c 65 6e 64 73 | | \ends|
|000003f0| 75 62 65 71 75 61 74 69 | 6f 6e 73 20 69 6e 20 6f |ubequati|ons in o|
|00000400| 72 64 65 72 20 74 6f 20 | 70 72 65 76 65 6e 74 20 |rder to |prevent |
|00000410| 61 20 73 70 75 72 69 6f | 75 73 20 73 70 61 63 65 |a spurio|us space|
|00000420| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 61 74 |.% | at|
|00000430| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00000440| 66 20 74 68 65 20 6e 65 | 78 74 20 74 65 78 74 2d |f the ne|xt text-|
|00000450| 6c 69 6e 65 2e 20 41 6c | 73 6f 20 61 64 64 65 64 |line. Al|so added|
|00000460| 20 25 27 73 0a 25 20 20 | 20 20 20 20 20 20 20 20 | %'s.% | |
|00000470| 20 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 | at the| end of |
|00000480| 65 61 63 68 20 63 6f 6d | 6d 61 6e 64 2d 6c 69 6e |each com|mand-lin|
|00000490| 65 20 66 6f 72 20 74 68 | 65 20 73 61 6d 65 20 72 |e for th|e same r|
|000004a0| 65 61 73 6f 6e 73 2e 0a | 25 0a 25 25 25 2d 2d 2d |easons..|%.%%%---|
|000004b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 25 25 |--------|-----.%%|
|000004f0| 25 20 46 69 6c 65 3a 20 | 73 75 62 65 71 6e 2e 73 |% File: |subeqn.s|
|00000500| 74 79 0a 25 25 25 20 54 | 68 65 20 73 75 62 65 71 |ty.%%% T|he subeq|
|00000510| 75 61 74 69 6f 6e 73 20 | 65 6e 76 69 72 6f 6e 6d |uations |environm|
|00000520| 65 6e 74 20 25 25 25 0a | 25 0a 25 20 57 69 74 68 |ent %%%.|%.% With|
|00000530| 69 6e 20 74 68 65 20 73 | 75 62 65 71 75 61 74 69 |in the s|ubequati|
|00000540| 6f 6e 73 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2c |ons envi|ronment,|
|00000550| 20 74 68 65 20 6f 6e 6c | 79 20 63 68 61 6e 67 65 | the onl|y change|
|00000560| 20 69 73 20 74 68 61 74 | 0a 25 20 65 71 75 61 74 | is that|.% equat|
|00000570| 69 6f 6e 73 20 61 72 65 | 20 6c 61 62 65 6c 65 64 |ions are| labeled|
|00000580| 20 64 69 66 66 65 72 65 | 6e 74 6c 79 2e 20 20 54 | differe|ntly. T|
|00000590| 68 65 20 6e 75 6d 62 65 | 72 20 73 74 61 79 73 20 |he numbe|r stays |
|000005a0| 74 68 65 20 73 61 6d 65 | 2c 0a 25 20 61 6e 64 20 |the same|,.% and |
|000005b0| 6c 6f 77 65 72 20 63 61 | 73 65 20 6c 65 74 74 65 |lower ca|se lette|
|000005c0| 72 73 20 61 72 65 20 61 | 70 70 65 6e 64 65 64 2e |rs are a|ppended.|
|000005d0| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 69 | For ex|ample, i|
|000005e0| 66 20 61 66 74 65 72 20 | 64 6f 69 6e 67 0a 25 20 |f after |doing.% |
|000005f0| 74 68 72 65 65 20 65 71 | 75 61 74 69 6f 6e 73 2c |three eq|uations,|
|00000600| 20 6e 75 6d 62 65 72 65 | 64 20 31 2c 20 32 2c 20 | numbere|d 1, 2, |
|00000610| 61 6e 64 20 33 2c 20 79 | 6f 75 20 73 74 61 72 74 |and 3, y|ou start|
|00000620| 20 61 20 73 75 62 65 71 | 75 61 74 69 6f 6e 73 0a | a subeq|uations.|
|00000630| 25 20 65 6e 76 69 72 6f | 6e 6d 6d 65 6e 74 20 61 |% enviro|nmment a|
|00000640| 6e 64 20 64 6f 20 74 68 | 72 65 65 20 6d 6f 72 65 |nd do th|ree more|
|00000650| 20 65 71 75 61 74 69 6f | 6e 73 2c 20 74 68 65 79 | equatio|ns, they|
|00000660| 20 77 69 6c 6c 20 62 65 | 20 6e 75 6d 62 65 72 65 | will be| numbere|
|00000670| 64 0a 25 20 34 61 2c 20 | 34 62 2c 20 61 6e 64 20 |d.% 4a, |4b, and |
|00000680| 34 63 2e 20 20 41 66 74 | 65 72 20 79 6f 75 20 65 |4c. Aft|er you e|
|00000690| 6e 64 20 74 68 65 20 73 | 75 62 65 71 75 61 74 69 |nd the s|ubequati|
|000006a0| 6f 6e 73 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2c |ons envi|ronment,|
|000006b0| 20 74 68 65 0a 25 20 6e | 65 78 74 20 65 71 75 61 | the.% n|ext equa|
|000006c0| 74 69 6f 6e 20 77 69 6c | 6c 20 62 65 20 6e 75 6d |tion wil|l be num|
|000006d0| 62 65 72 65 64 20 35 2e | 0a 25 0a 25 20 42 6f 74 |bered 5.|.%.% Bot|
|000006e0| 68 20 74 65 78 74 20 61 | 6e 64 20 65 71 75 61 74 |h text a|nd equat|
|000006f0| 69 6f 6e 73 20 63 61 6e | 20 62 65 20 70 75 74 20 |ions can| be put |
|00000700| 69 6e 73 69 64 65 20 74 | 68 65 20 73 75 62 65 71 |inside t|he subeq|
|00000710| 75 61 74 69 6f 6e 73 20 | 65 6e 76 69 72 6f 6e 6d |uations |environm|
|00000720| 65 6e 74 2e 0a 25 0a 25 | 20 49 66 20 79 6f 75 20 |ent..%.%| If you |
|00000730| 6d 61 6b 65 20 61 6e 79 | 20 69 6d 70 72 6f 76 65 |make any| improve|
|00000740| 6d 65 6e 74 73 2c 20 49 | 27 64 20 6c 69 6b 65 20 |ments, I|'d like |
|00000750| 74 6f 20 68 65 61 72 20 | 61 62 6f 75 74 20 74 68 |to hear |about th|
|00000760| 65 6d 2e 0a 25 0a 25 0a | 5c 6e 65 77 74 6f 6b 73 |em..%.%.|\newtoks|
|00000770| 5c 40 73 74 65 71 75 61 | 74 69 6f 6e 0a 0a 5c 64 |\@stequa|tion..\d|
|00000780| 65 66 5c 73 75 62 65 71 | 75 61 74 69 6f 6e 73 7b |ef\subeq|uations{|
|00000790| 5c 72 65 66 73 74 65 70 | 63 6f 75 6e 74 65 72 7b |\refstep|counter{|
|000007a0| 65 71 75 61 74 69 6f 6e | 7d 25 0a 5c 65 64 65 66 |equation|}%.\edef|
|000007b0| 5c 40 73 61 76 65 64 65 | 71 75 61 74 69 6f 6e 7b |\@savede|quation{|
|000007c0| 5c 74 68 65 5c 63 40 65 | 71 75 61 74 69 6f 6e 7d |\the\c@e|quation}|
|000007d0| 25 0a 5c 40 73 74 65 71 | 75 61 74 69 6f 6e 3d 5c |%.\@steq|uation=\|
|000007e0| 65 78 70 61 6e 64 61 66 | 74 65 72 7b 5c 74 68 65 |expandaf|ter{\the|
|000007f0| 65 71 75 61 74 69 6f 6e | 7d 25 20 20 20 25 6f 6e |equation|}% %on|
|00000800| 6c 79 20 77 61 6e 74 20 | 5c 74 68 65 65 71 75 61 |ly want |\theequa|
|00000810| 74 69 6f 6e 0a 5c 65 64 | 65 66 5c 40 73 61 76 65 |tion.\ed|ef\@save|
|00000820| 64 74 68 65 65 71 75 61 | 74 69 6f 6e 7b 5c 74 68 |dtheequa|tion{\th|
|00000830| 65 5c 40 73 74 65 71 75 | 61 74 69 6f 6e 7d 25 20 |e\@stequ|ation}% |
|00000840| 25 65 78 70 61 6e 64 65 | 64 20 6f 6e 63 65 0a 5c |%expande|d once.\|
|00000850| 65 64 65 66 5c 6f 6c 64 | 74 68 65 65 71 75 61 74 |edef\old|theequat|
|00000860| 69 6f 6e 7b 5c 74 68 65 | 65 71 75 61 74 69 6f 6e |ion{\the|equation|
|00000870| 7d 25 0a 5c 73 65 74 63 | 6f 75 6e 74 65 72 7b 65 |}%.\setc|ounter{e|
|00000880| 71 75 61 74 69 6f 6e 7d | 7b 30 7d 25 0a 5c 64 65 |quation}|{0}%.\de|
|00000890| 66 5c 74 68 65 65 71 75 | 61 74 69 6f 6e 7b 5c 6f |f\theequ|ation{\o|
|000008a0| 6c 64 74 68 65 65 71 75 | 61 74 69 6f 6e 5c 61 6c |ldtheequ|ation\al|
|000008b0| 70 68 7b 65 71 75 61 74 | 69 6f 6e 7d 7d 7d 25 0a |ph{equat|ion}}}%.|
|000008c0| 0a 5c 64 65 66 5c 65 6e | 64 73 75 62 65 71 75 61 |.\def\en|dsubequa|
|000008d0| 74 69 6f 6e 73 7b 25 0a | 5c 73 65 74 63 6f 75 6e |tions{%.|\setcoun|
|000008e0| 74 65 72 7b 65 71 75 61 | 74 69 6f 6e 7d 7b 5c 40 |ter{equa|tion}{\@|
|000008f0| 73 61 76 65 64 65 71 75 | 61 74 69 6f 6e 7d 25 0a |savedequ|ation}%.|
|00000900| 5c 40 73 74 65 71 75 61 | 74 69 6f 6e 3d 5c 65 78 |\@stequa|tion=\ex|
|00000910| 70 61 6e 64 61 66 74 65 | 72 7b 5c 40 73 61 76 65 |pandafte|r{\@save|
|00000920| 64 74 68 65 65 71 75 61 | 74 69 6f 6e 7d 25 0a 5c |dtheequa|tion}%.\|
|00000930| 65 64 65 66 5c 74 68 65 | 65 71 75 61 74 69 6f 6e |edef\the|equation|
|00000940| 7b 5c 74 68 65 5c 40 73 | 74 65 71 75 61 74 69 6f |{\the\@s|tequatio|
|00000950| 6e 7d 5c 67 6c 6f 62 61 | 6c 5c 40 69 67 6e 6f 72 |n}\globa|l\@ignor|
|00000960| 65 74 72 75 65 7d 0a 25 | 25 25 2d 2d 2d 2d 2d 2d |etrue}.%|%%------|
|00000970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000980| 2d 2d 2d 2d 2d 2d 0a 0a | |------..| |
+--------+-------------------------+-------------------------+--------+--------+